package prog;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.Date;

public interface AgenceItf extends Remote {
	public int creerCommande(String agenceDepart, String agenceArrivee,
			String vehicule, String dateDepart) throws RemoteException;
	
	public String modifierVehicule(int numCommande, String vehicule) throws RemoteException;
	
	public void modifierDateDepart(int numCommande, String date) throws RemoteException;
	
	public void modifierVilleArrive(int numCommande, String date) throws RemoteException;
	
	public double estimerPrix(String agenceDepart, String agenceArrive, String vehicule) throws RemoteException;
	
	public boolean finirCommande(int commande) throws RemoteException;
	
	public void test() throws RemoteException;
	
	public String afficherCommande(int commande) throws RemoteException;
	
	public boolean verifierCommande(int commande) throws RemoteException;
}
